#ifndef _HDL_LCD12864_H_
#define _HDL_LCD12864_H_

#include "stm32f10x.h"

#define DRV_GPIO_PORT   GPIOB
#define DRV_74HC595_CLK         GPIO_Pin_0
#define DRV_74HC595_DAT_IN      GPIO_Pin_1
#define DRV_74HC595_DAT_LOK     GPIO_Pin_2
#define DRV_74HC595_DAT_CLR     GPIO_Pin_3
#define DRV_LCD12864_EN         GPIO_Pin_4
#define DRV_LCD12864_RST        GPIO_Pin_5
#define DRV_LCD12864_RW         GPIO_Pin_6
#define DRV_LCD12864_RS         GPIO_Pin_7
#define DRV_LCD12864_CS1        GPIO_Pin_8
#define DRV_LCD12864_CS2        GPIO_Pin_9





void hdl_lcd12864_driver_config(void);
int8_t hdl_74hc595_byte_write(uint8_t dat);
#endif
